Companion

object Companion

Functions

Link copied to clipboard
fun create(slidingWindowSize: Int = 100, minimumNumberOfCalls: Int = 10, failureRateThreshold: Double = 0.5, resetTimeoutMillis: Double, halfOpenSuccessThreshold: Int = 2): Promise<SlidingWindowCircuitBreaker>

Creates a new sliding-window circuit breaker.